package com.voice.server.api;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class FileRequest {

    @NotBlank(message = "设备标识不能为空")
    private String deviceKey;

    @NotNull(message = "文件不能为空")
    private MultipartFile file;
}
